package com.example.dc.Service;

import com.example.dc.domain.AnwserKeyword;
import com.example.dc.domain.Question;
import com.example.dc.domain.Reply;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface QuestionService {
    public Question getRandomQuestion(Integer userId);

    public Map<String,Object> matchAnwserKeyword(Integer personalQuestionId,Integer questionId, String question, String anwser, Integer userId);

    public List<Question> getThreeStander();

    public Integer insertUserReply(Reply reply);
}
